package com.linxi.rpccompensation.entity;

import java.util.Date;

/**
 * 记录日志表
 *
 * @author lx
 */
public class SysPushLog {

	private String id;
	/**
	 * 推送api
	 */
	private String api;
	/**
	 * 推送对象
	 */
	private String data;
	/**
	 * 推送时间
	 */
//	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date time;
	/**
	 * 推送状态
	 * 1：已发送，待回复
	 * 2：已发送，消费失败
	 * 3：已推送，消费成功
	 * 4: 补偿推送，消费失败
	 */
	private Integer status;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getApi() {
		return api;
	}

	public void setApi(String api) {
		this.api = api;
	}

	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

}
